package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;

/**
 * @Author：cxl
 * @Package：com.itheima.service
 * @Project：web-project
 * @name：StudentService
 * @Date：2025-09-29 8:08 pm
 * @Filename：StudentService
 */
public interface StudentService {
   void violation(Integer id, Integer score);

    PageResult<Student> page(StudentQueryParam studentQueryParam);

    void deleteByIds(List<Integer> ids);

    void add(Student student);

    Student selectById(Integer id);

    void update(Student student);
}
